import Vuex from 'vuex'
import Vue from 'vue'
import UserInfo from "@/stores/modules/userInfo";
import createPersistedState from 'vuex-persistedstate';

Vue.use(Vuex)

const store = new Vuex.Store({
    modules: {
        UserInfo
    },
    plugins: [createPersistedState()], 
})

export default store